<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>{$art.title}--{$Think.config.WEBNAME}</title>
<meta name="keywords" content="个人博客,闫海个人博客,{$art.tags}" />
<meta name="description" content="{$art.description}" />
<link href="__PUBLIC__/Index/css/base.css" rel="stylesheet">
<link href="__PUBLIC__/Index/css/new.css" rel="stylesheet">
<link rel="stylesheet" href="__PUBLIC__/Index/css/animate.css">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/ueditor/third-party/SyntaxHighlighter/shCoreDefault.css">
<script src="http://siteapp.baidu.com/static/webappservice/uaredirect.js" type="text/javascript"></script><script type="text/javascript">uaredirect("http://yanhai0531.com/mobile.php");</script>
<!--[if lt IE 9]>
<script src="__PUBLIC__/Index/js/modernizr.js"></script>
<![endif]-->

<script type="text/javascript" src="__PUBLIC__/Admin/Js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/Admin/ueditor/third-party/SyntaxHighlighter/shCore.js"></script>
<script type="text/javascript">
  SyntaxHighlighter.all();
</script>
<script type="text/javascript">
  var url = '__URL__';
  $(function(){
    var id = '{$art["id"]}';
    $.post(url+'/addClick',{'id':id},function(data){
        $("#pclick").html('点击数：' + data);
    });
  })
</script>
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F5a97c6527b57694be765111b6a23bffc' type='text/javascript'%3E%3C/script%3E"));
</script>
</head>
<body>
<include file="Common:header" />
<article class="blogs">
  {~W('Right/location',array($art['cid']))}
  <a href="{:U('/index')}" class="n1">网站首页</a>
  </h1>
  <div class="index_about">
    <h2 class="c_titile">{$art.title}</h2>
    <p class="box_c"><span class="d_time">发布时间：{$art.time|date='Y-m-d H:i',###}</span><span>编辑：{$art.author}</span><span id="pclick">点击数：{$art.click}</span></p>
    <ul class="infos" style="word-break: break-all;">
      {$art.content|htmlspecialchars_decode=###}
    </ul>
    <div class="keybq">
    <p><span>关键字词</span>：{$art.tags}</p>
    
    </div>
    <div class="ad"> </div>
    <div class="nextinfo">
      <p>上一篇：<if condition="$prev"><a href="{:U('Index/article/'.$prev['id'])}">{$prev.title}</a><else/>已经是第一篇文章了</if></p>
      <p>下一篇：<if condition="$next"><a href="{:U('Index/article/'.$next['id'])}">{$next.title}</a><else/>已经是最后一篇文章了</if></p>
    </div>
    <div class="otherlink">
      <h2>相关文章</h2>
      <ul>
        <foreach name="relation" item="v">
        <li><a href="{:U('Index/article/'.$v['id'])}" title="{$v.title}">{$v.title}</a></li>
        </foreach>
        
      </ul>
    </div>
  </div>
  <aside class="right">
<include file="Common:right" /> 
</article>
<include file="Common:footer" /> 